package com.sbwork.demo.searchForm;

import com.sbwork.base.persistence.annotate.Query;
import com.sbwork.base.persistence.query.bean.QueryType;
import com.sbwork.systemConfig.plugin.bean.Page;
import com.sbwork.base.persistence.annotate.DefaultOrder;
import com.sbwork.systemConfig.plugin.bean.OrderBy;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目管理搜索类
 */
@DefaultOrder(type = OrderBy.OrderByType.ASC, fieldName = "sortNo")
@Getter
@Setter
public class HyProjectSearchForm extends Page implements Serializable {
    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称")
    @Query(value = QueryType.like)
    private String name;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    @Query(value = QueryType.equal)
    private String type;

    /**
     * 项目负责人标识
     */
    @ApiModelProperty(value = "项目负责人标识")
    @Query(value = QueryType.equal)
    private String managerUserId;

    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    @Query(value = QueryType.equal)
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    @Query(value = QueryType.equal)
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    @Query(value = QueryType.equal)
    private String district;

    /**
     * 项目状态
     */
    @ApiModelProperty(value = "项目状态")
    @Query(value = QueryType.equal)
    private String status;

}
